package com.bootdo.wx.service;

import com.bootdo.wx.domain.GoodsTypeDO;

import java.util.List;
import java.util.Map;

/**
 * 商品类型
 * 
 * @author sys
 * @email 1992lcg@163.com
 * @date 2019-03-19 16:39:23
 */
public interface GoodsTypeService {
	
	GoodsTypeDO get(String id);
	
	List<GoodsTypeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodsTypeDO goodsType);
	
	int update(GoodsTypeDO goodsType);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<GoodsTypeDO> queryAll();

	int add(GoodsTypeDO goodsType, String[] brand, String[] specId, String[] specValIds, String[] specValText,
			String[] specValUrl, String[] group_name, String[] group_params);

	int edit(GoodsTypeDO goodsType, String[] brand, String[] specId, String[] specValIds, String[] specValText,
			 String[] specValUrl, String[] group_name, String[] group_params);
}
